package iosr11.Service;

import iosr11.data.Event;
import iosr11.data.ProjectGroup;
import iosr11.data.ProjectSubject;
import iosr11.data.Student;

import java.util.List;

public interface ProjectGroupService extends Service{
	/*
	 * lista studentow moze być null'em
	 * subject moze być null'em
	 */
	public boolean createProjectGroup(String groupName, ProjectSubject subject, List<Student> students);
	public boolean addStudentToGroup(Student student, ProjectGroup group);
	public boolean addStudentsToGroup(List<Student> students, ProjectGroup group);
	public boolean removeStudentFromGroup(Student student);
	public boolean addProjectGroup(ProjectGroup group);
	public boolean deleteProjectGroup(ProjectGroup group);
	public boolean setSubject(ProjectGroup group, ProjectSubject subject);
	public boolean removeSubject(ProjectGroup group, ProjectSubject subject);
	public boolean hasSubject(ProjectGroup group);
	public List<ProjectGroup> getAll();
	public ProjectGroup getProjectGroup(String name);
	public ProjectGroup getProjectGroupById(String id);
	public List<ProjectGroup> getEventGroup(Event event);
}
